package com.chenfan.process.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author K
 * @date 2023/3/2 1:25 PM
 */
@Data
public class ApprovalQueryDTO {

    private Long approvalTemplateId;
    /**
     * 业务code
     */
    private String businessCode;

    private List<String> businessCodeList;

    /**
     * 流程提交人
     */
    private String createName;

    /**
     * 流程提交时间开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTimeStart;

    /**
     * 流程提交时间结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTimeEnd;

    private Integer pageNum;

    private Integer pageSize;

    private List<Integer> statusList;

    private List<Long> userIdList;
}
